
namespace ZR.Model.BaseManage.Dto
{
    /// <summary>
    /// 客户信息查询对象
    /// </summary>
    public class BaseCustomQueryDto : PagerInfo 
    {
        /// <summary>
        /// 客户编码 
        /// </summary>
        public string CostumCode { get; set; }
        /// <summary>
        /// 客户名称 
        /// </summary>
        public string CostumName { get; set; }
        /// <summary>
        /// 启用标志（0禁用1启用） 
        /// </summary>
        public int? Enabled { get; set; }
    }

    /// <summary>
    /// 客户信息输入输出对象
    /// </summary>
    public class BaseCustomDto
    {
        /// <summary>
        /// 主键 
        /// </summary>
        [Required(ErrorMessage = "主键不能为空")]
        public string CostumId { get; set; }

        /// <summary>
        /// 客户编码 
        /// </summary>
        [Required(ErrorMessage = "客户编码不能为空")]
        public string CostumCode { get; set; }

        /// <summary>
        /// 客户名称 
        /// </summary>
        [Required(ErrorMessage = "客户名称不能为空")]
        public string CostumName { get; set; }

        /// <summary>
        /// 启用标志（0禁用1启用） 
        /// </summary>
        [Required(ErrorMessage = "启用标志（0禁用1启用）不能为空")]
        public int Enabled { get; set; }

        /// <summary>
        /// 国家 
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }
    }
}